package com.hhit.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.multipart.commons.CommonsMultipartFile;

import com.hhit.pojo.Item;


public interface ItemService {

	public List<Item> getAll();

	public void delItem(Integer id,HttpServletRequest req);

	void addItem(Item user, CommonsMultipartFile myfile, HttpServletRequest req);

	Item getItem(Integer id);

	void updateItem(Item user, CommonsMultipartFile myfile,
			HttpServletRequest req);
}
